package com.ftg.learn.course.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "添加分类时传递的数据模型")
public class CategoryDto {

    @Schema(description = "分类类型")
    private Integer type;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "排序")
    private Integer sort;
}
